from SmartHouseServer_new.Flask.Flask_device import run_flask
from EMQX.MQTT_send_receipt import run_mqtt

if __name__ == "__main__":
    run_mqtt()  # 开启mqtt消息收发监听线程
    run_flask()  # 开启falsk线程
